package it.learn.dbo.producer8081;

import it.learn.dbo.producer8081.service.TestApiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class InitTest implements CommandLineRunner {

    @Autowired
    private TestApiService apiService;

    @Override
    public void run(String... args) throws Exception {
        String 哈哈哈哈哈哈 = apiService.hello("哈哈哈哈哈哈");
        System.out.println("哈哈哈哈哈哈 ==============> " + 哈哈哈哈哈哈);
    }

}
